#include <Arduino.h>

const uint8_t led_pins[8] = {PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8};

void setup() {
    for (auto pin : led_pins) {
        pinMode(pin, OUTPUT);
        digitalWrite(pin, HIGH);
    }
}

void loop() {
    for (auto pin : led_pins) {
        digitalWrite(pin, LOW);
        delay(500);
        digitalWrite(pin, HIGH);
    }
}
